package com.shujia.userController;

import com.shujia.uerService.StudentService;
import com.shujia.uerService.StudentService_plus;
import com.shujia.user.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StudentController_plus {
    @GetMapping("/redisSelect")
    public Student queryStudentById(String id){
        Student student = new StudentService_plus().QueryStudentById(id);
        System.out.println("查询结果为");
        System.out.println(student);
        return student;
    }

}
